<template>
  <div>
    <h1 style="text-align: center;">王阳明，心学的智慧</h1>
    <nav class="nav">
      <RouterLink to="/" class="nav">Home</RouterLink>
      <RouterLink to="/about"> About</RouterLink>
    </nav>
    <RouterView />
  </div>
</template>

<script setup>
import { RouterLink, RouterView } from "vue-router";
</script>

<style lang="scss" scoped></style>
